package com.jumi.microservice.stock.api.dto;

import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @Description 商城查询物料可用库存
 * @ClassName CommodityMaterialStockDTO
 * @Author Abel Yang
 * @Date 2020/8/27 23:26
 **/
public class CommodityMaterialStockDTO extends AbstractObject implements Serializable {

    private static final long serialVersionUID = -6855064159147049756L;
    @ApiModelProperty(value = "供应链物料id")
    private Long materialId;
    @ApiModelProperty(value = "供应链物料编码")
    private String materialCode;
    @ApiModelProperty(value = "供应链物料可用库存数")
    private int availableStockNum;

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public int getAvailableStockNum() {
        return availableStockNum;
    }

    public void setAvailableStockNum(int availableStockNum) {
        this.availableStockNum = availableStockNum;
    }

    @Override
    public String toString() {
        return "JmCommodityMaterialStock{" +
                "materialId=" + materialId +
                ", materialCode='" + materialCode + '\'' +
                ", availableStockNum=" + availableStockNum +
                '}';
    }
}
